import mitt from 'mitt';

type Events = {
  'show-info-window': any;
  'hide-info-window': void;
  [key: string]: any;
};

const emitter = mitt<Events>();

export default emitter; 